//
//  InputViewController.h
//  WangLottery
//
//  Created by 黄修勇 on 12-5-7.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"

@class InputViewController;

@protocol InputDelegate <NSObject>

@required

-(void)cancelDissViewController:(InputViewController *)inputViewController;

-(void)doneDissViewController:(InputViewController *)inputViewController userInputText:(NSString *)text;

-(BOOL)checkEndInputText:(NSString *)text inputViewController:(InputViewController *)inputViewController;

@end

@interface InputViewController : BaseViewController

@property (nonatomic,readonly)IBOutlet UITextField *inputTextFailed;

@property (nonatomic,assign)id<InputDelegate>delegate;


-(void)cancel:(UIButton *)btn;

-(IBAction)doneBtn:(UIButton *)btn;

@end
